Computer algorithm to initiate pump suspension